package com.smc.file.web;

import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.google.common.collect.Lists;
import com.smc.sys.web.BaseController;


/**
 * 
 * 
 * @author zouqinghua date 2016年1月24日 上午1:36:12
 */
@Controller
@RequestMapping(value = "${adminPath}/file")
public class FileController extends BaseController {

  
    @RequestMapping(value = { "/list/index" })
    public String index(HttpServletRequest request, Model model) {
    	String serverType = request.getParameter("serverType");
    	model.addAttribute("serverType", serverType);
        return "modules/file/qiniu/qiniuList";
    }
    
}
